package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.MallAd;
import com.cskaoyan.bean.pojo.MallCategory;
import com.cskaoyan.bean.pojo.MallCoupon;
import lombok.Data;

import java.util.List;

/**
 * @author: Fengyi
 * @description: 首页显示
 * @time: 2021/7/11 21:06
 */

@Data
public class HomeVO {

    private List<HomeNewGoodsListVO> newGoodsList;
    private List<MallCoupon> couponList;
    private List<MallCategory> channel;
    private List<MallAd> banner;
    private List<HomeBrandListVO> brandList;
    private List<HomeHotGoodsListVO> hotGoodsList;
    private List<HomeTopicListVO> topicList;
    private List<HomeFloorGoodsListVO> floorGoodsList;

    //团购不用写
    private List<HomeGrouponListVO> grouponList;





    public static class HomeGrouponListVO {
        /**
         * groupon_price : 59.0
         * goods : {"id":1039051,"name":"多功能午睡枕","brief":"放松自在的午后时光","picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","counterPrice":99,"retailPrice":79}
         * groupon_member : 8
         */

        private double groupon_price;
        private GoodsVO goods;
        private int groupon_member;

        public double getGroupon_price() {
            return groupon_price;
        }

        public void setGroupon_price(double groupon_price) {
            this.groupon_price = groupon_price;
        }

        public GoodsVO getGoods() {
            return goods;
        }

        public void setGoods(GoodsVO goods) {
            this.goods = goods;
        }

        public int getGroupon_member() {
            return groupon_member;
        }

        public void setGroupon_member(int groupon_member) {
            this.groupon_member = groupon_member;
        }

        public static class GoodsVO {
            /**
             * id : 1039051
             * name : 多功能午睡枕
             * brief : 放松自在的午后时光
             * picUrl : http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png
             * counterPrice : 99.0
             * retailPrice : 79.0
             */

            private int id;
            private String name;
            private String brief;
            private String picUrl;
            private double counterPrice;
            private double retailPrice;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getBrief() {
                return brief;
            }

            public void setBrief(String brief) {
                this.brief = brief;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public double getCounterPrice() {
                return counterPrice;
            }

            public void setCounterPrice(double counterPrice) {
                this.counterPrice = counterPrice;
            }

            public double getRetailPrice() {
                return retailPrice;
            }

            public void setRetailPrice(double retailPrice) {
                this.retailPrice = retailPrice;
            }
        }
    }

}
